 
package com.zdkj.subway.st.entity;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.zdkj.common.core.exceltools.HeaderToColumn;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;


@Data
@ApiModel(value = "车票月度计划")
@EqualsAndHashCode(callSuper = true)
@TableName("sw_tk_public_plan_month")
public class SwStPlanMonth extends Model<SwStPlanMonth> {
	private static final long serialVersionUID = 1L;

	@TableId(type = IdType.AUTO)
	@ApiModelProperty(value = "唯一标识")
	@ExcelIgnore
	private Long id;

	@ApiModelProperty(value = "年度计划id")
	@ExcelIgnore
	private Long planYearId;
//	@ApiModelProperty(value = "年度计划编号")
//	@HeaderToColumn(header = "年度计划编号",index = 1)
//	private String yearPlanNo;
//
//	@ApiModelProperty(value = "计划编号")
//	@HeaderToColumn(header = "计划编号",index = 2)
//	private String planNo;

	@ExcelIgnore
	private Boolean display;

	@ApiModelProperty(value = "周期")
	@ExcelProperty(value = "周期", index = 1)
	private String workCycle;

	@ApiModelProperty(value = "已分解月份")
	@ExcelProperty(value = "已分解月份", index = 3)
	private String decomposeMonth;

	@ApiModelProperty(value = "作业时间")
	@ExcelProperty(value = "作业时间", index = 0)
	private String workTime;

	@ApiModelProperty(value = "月份")
	@HeaderToColumn(header = "月份",index = 1)
	@ExcelProperty(value = "月份", index = 2)
	private String planMonth;

	@ApiModelProperty(value = "票种")
	@HeaderToColumn(header = "票种",index = 2)
	@ExcelProperty(value = "票种", index = 5)
	private String ticketType;

	@ApiModelProperty(value = "计划类型")
	@HeaderToColumn(header = "计划类型",index = 3)
	@ExcelProperty(value = "已分解月份", index = 4)
	private String planType;

	@ApiModelProperty(value = "原计划数量")
	@HeaderToColumn(header = "原计划数量",index = 4)
	@ExcelProperty(value = "原计划数量", index = 6)
	private Integer planNumberOld;

	@ApiModelProperty(value = "现计划数量")
	@HeaderToColumn(header = "现计划数量",index = 5)
	@ExcelProperty(value = "现计划数量", index = 7)
	private Integer planNumberNow;

	@ApiModelProperty(value = "已分解数量")
	@HeaderToColumn(header = "已分解数量",index = 6)
	@ExcelProperty(value = "已分解数量", index = 8)
	private Integer decomposeNumber;

	@ApiModelProperty(value = "是否已分解")
	@ExcelProperty(value = "是否已分解", index = 10)
	private String isDecompose;

//	@ApiModelProperty(value = "单位")
//	@HeaderToColumn(header = "单位",index = 5)
//	private String planUnit;

//	@ApiModelProperty(value = "计划开始时间")
//	@HeaderToColumn(header = "计划开始时间",index = 6)
//	private LocalDateTime planStartTime;
//
//	@ApiModelProperty(value = "计划结束时间")
//	@HeaderToColumn(header = "计划结束时间",index = 7)
//	private LocalDateTime planEndTime;

	@ApiModelProperty(value = "工作地点")
	@HeaderToColumn(header = "工作地点",index = 8)
	@ExcelIgnore
	private String workPlace;

	@ApiModelProperty(value = "运营商")
	@ExcelIgnore
	private String operator;

	@ApiModelProperty(value = "审核状态")
	@HeaderToColumn(header = "审核状态",index = 9)
	@ExcelProperty(value = "审核状态", index = 9)
	private String checkStatus;

	@ApiModelProperty(value = "备注")
	@HeaderToColumn(header = "备注",index = 10)
	@ExcelProperty(value = "备注", index = 15)
	private String remark;

	@ApiModelProperty(value = "创建人ID")
	@ExcelIgnore
	private Long creatorId;

	@ApiModelProperty(value = "审核人")
	@ExcelProperty(value = "审核人", index = 11)
	private Integer checkPersonId;

	@ApiModelProperty(value = "审批建议")
	@ExcelIgnore
	private String checkSuggest;

	@ApiModelProperty(value = "提交状态")
	@ExcelIgnore
	private String checkSubmit;

	@ApiModelProperty(value = "审核时间")
	@ExcelProperty(value = "审核时间", index = 12)
	private LocalDateTime checkTime;

	@ApiModelProperty(value = "创建人名称")
	@ExcelProperty(value = "创建人名称", index = 13)
	private String creatorName;

	@ApiModelProperty(value = "创建时间")
	@ExcelProperty(value = "创建时间", index = 14)
	private LocalDateTime createTime;

	@ApiModelProperty(value = "是否编辑过状态")
	@ExcelIgnore
	private String whetherStatus;

	@ApiModelProperty(value="回执单号路径")
	@ExcelIgnore
	private String receiptFilePath;


	@ApiModelProperty(value="单号")
	@ExcelIgnore
	private String numbers;
}
